<?php

require_once( 'flexical/admin/response.php' );

class Flexical_Admin_Basic_Listing_Response extends Flexical_Admin_Response
{
	public $listing;
	public $listings = array();
	public $feeds = array();
	public $queries = array();
	public $formats = array();
}

class Flexical_Admin_Show_Listings_Response extends Flexical_Admin_Basic_Listing_Response
{
	public $canceled = false;
}

class Flexical_Admin_Create_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_Update_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_Delete_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_Edit_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_Confirm_Delete_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_View_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
}

class Flexical_Admin_Test_Listing_Response extends Flexical_Admin_Basic_Listing_Response
{
	public $report;

	public function __construct( $listing, $report )
	{
		$this->listing = $listing;
		$this->report = $report;
	}
}

class Flexical_Admin_Delete_All_Listings_Response extends Flexical_Admin_Basic_Listing_Response
{
	public $confirmed = false;

	public function __construct( $confirmed )
	{
		$this->confirmed = $confirmed;
	}
}

class Flexical_Admin_Listing_To_Update_Invalid_Response extends Flexical_Admin_Basic_Listing_Response
{
	public $operation;

	public function __construct( $listing, $operation )
	{
		$this->listing = $listing;
		$this->operation = $operation;
	}
}

?>